
//
//  WebApi.h
//  DaCongMing
//
//  Created by 胡勇 on 2017/9/15.
//  Copyright © 2017年 胡勇. All rights reserved.
//

#ifndef WebApi_h
#define WebApi_h

/** 请求成功*/
#define KSUCCESS @"SUCCESS"

/** ------------------------------网络接口------------------------------- */
//接口总域名
//#define API_DomainStr           @"http://101.132.147.6:9008"
#define API_DomainStr           @"http://132.232.146.46:9008"


//关于我们 页面
#define URL_AboutUS             @"home/about?v="

//登录接口
#define API_UserLogin           @"auth/token"

//获取城市信息
#define API_GetCityInfo         @"city/citys"

//根据城市ID获取建筑ID
#define API_GetBuildingInfoWithCityID         @"build/builds"

//添加城市
#define API_AddCity             @"api/city/addcityinfor"

//更新城市
#define API_UpdateCity           @"api/city/updatecityinfor"

//删除城市
#define API_DeleteCity           @"api/city/deletecityinfor"

//获取建筑物信息
#define API_GetBuildingInfo      @"pi/building/getbuildinginfor"

//更新建筑物信息
#define API_UpdateBuildingInfo           @"api/building/updatebuildinginfor"

//添加建筑物信息
#define API_AddBuildingInfo           @"api/building/addbuildinginfor"

//删除建筑物信息
#define API_DeleteBuildingInfo           @"api/building/deletebuildinginfor"

//获取房间信息
#define API_GetRoomInfo           @"api/room/getroominfor"

//获取可用房间列表
#define API_GetAvailableMeetingRoomList           @"meetingRoom/meetingRooms"

//获取参加会议人列表
#define API_GetMeetingInviterList                  @"user/meetingUsers"

//获取座位列表
#define API_GetAvailableSeatList                  @"station/stations"

//获取座位详细信息
#define API_GetSeatDetailInfo           @"station/station"

//获取我的预定会议室
#define API_GetMySchedule                  @"MeetingMark/meetingMarks"

//获取我的预定座位
#define API_GetMyScheduleSeat                  @"stationMark/stationMarks"

//预定会议室
#define API_BookingMeetingRoom           @"MeetingMark/meetingMark"

//取消我的预定的会议室
#define API_CancelMyBookingRoomWithID           @"MeetingMark/meetingMark"

//获取会议室详情
#define API_GetRoomDetailWithMeetingID           @"meetingRoom/meetingRoom"

//搜索可邀请参会人
#define API_GetMeetingInviterWithKeywords           @"api/user/getuserbykeyword"

//取消我的预定的工位
#define API_CancelMyBookingSeatWithID           @"stationMark/stationMark"

//预定座位
#define API_BookingSeat              @"stationMark/stationMark"

//更新房间信息
#define API_UpdateRoomInfo           @"api/room/updateroominfor"

//删除房间信息
#define API_DeleteRoomInfo           @"api/room/deleteroominfor"

//添加房间信息
#define API_AddRoomInfo            @"api/room/addroominfor"

//获取设备信息
#define API_GetDeviceInfo           @"api/device/getdeviceinfor"

//添加设备信息
#define API_AddDeviceInfo           @"api/device/adddeviceinfor"

//更新设备信息
#define API_UpdateDeviceInfo           @"api/device/updatedeviceinfor"

//删除设备信息
#define API_DeleteDeviceInfo           @"api/device/deletedeviceinfor"

//搜索房间信息
#define API_SearchRoomInfo           @"api/room/searh"

//获取房间详情
#define API_GetRoomDetailsInfo           @"api/room/getroomdetails"

//搜索会议室
#define API_SearchMeeting            @"api/meeting/getmeeting"

//删除会议室
#define API_DeleteMeeting            @"api/meeting/deletemeeting"

//更新会议室信息
#define API_UpdateMeetingInfo           @"api/meeting/updatemeeting"

//更新用户信息
#define API_UpdateUserInfo           @"api/user/updateuser"

//添加用户
#define API_AddUser                 @"api/user/adduser"

//签到
#define API_SignByUserID                @"MeetingMark/signMeetingMark"

//ipad签到
#define API_SignIPadByUserID                @"MeetingMark/signMeetingMarkIpad"

//ipad登录
#define API_UserLoginIPad                @"auth/ipadToken"

#endif
